<?php
if (!defined('libs')) {
    header('Location: ../404error.php');
}
include_once controlador . 'controlador.php';

$plantillaRender = new controlador();
include_once libs . 'dbClass.php';
$consulta = new dbClass();
?>    
<!DOCTYPE html>
<html>
    <head>
        <title><?php
echo " :: " . $plantillaRender->tituloPagina();
?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="plantillas/css/base.css" type="text/css" />
        <link rel="stylesheet" href="plantillas/js/thickbox.css" type="text/css" media="screen" />

        <link rel="stylesheet" href="plantillas/css/layout.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="plantillas/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
        <script src="plantillas/js/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
        <script src="plantillas/js/mootools-1.2-more.js" type="text/javascript"></script>
        <script src="plantillas/js/jd.gallery.js" type="text/javascript"></script>

        <link href='http://fonts.googleapis.com/css?family=Josefin+Sans:300,400' rel='stylesheet' type='text/css'>
        <!--        <link href='http://fonts.googleapis.com/css?family=Rosario:400,400italic,700,700italic' rel='stylesheet' type='text/css'>-->

        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>

        <script type="text/javascript" src="plantillas/js/thickbox.js"></script>


        <link rel="stylesheet" type="text/css" href="plantillas/js/styles.css" />


    </head>
    <body>
        <?php
        //  echo $plantillaRender->render('menuIzquierda', '');
        ?>
        <script type="text/javascript">
            //            function startGallery() {
            //                var myGallery = new gallery($('myGallery'), {
            //                    timed: true
            //                });
            //            }
            //            window.addEvent('domready',startGallery);
        </script>
        <div>

            <div class="menuSuperior">
                <?php
                echo $plantillaRender->cabezotePagina();
                ?>
                <div class="logo">
                    <a href="index.php" >
                        <img style="border: 0px;" src="plantillas/imagenes/logoGA1.png" onmouseover="this.src='plantillas/imagenes/logoGA2.png';" onmouseout="this.src='plantillas/imagenes/logoGA1.png';"/>
                    </a>    
                </div>
                <div class="contMenuSuperior">
                    <div class="contenidoMenuSup">
                        <?php
                        echo $plantillaRender->miniaturasCarros();
                        ?>


                        <div class="iconoM">
                            <a href="http://www.goldenage.com.co/index.php?contacto=form" >
                                <img style="border: 0px;" src="plantillas/imagenes/mailO.png" onmouseover="this.src='plantillas/imagenes/mail.png';" onmouseout="this.src='plantillas/imagenes/mailO.png';"/>
                            </a>
                        </div>
                        <div class="iconoFB">
                            <a href="http://www.facebook.com" target="_blank">
                                <img style="border: 0px;" src="plantillas/imagenes/facebookO.png" onmouseover="this.src='plantillas/imagenes/facebook.png';" onmouseout="this.src='plantillas/imagenes/facebookO.png';"/>
                            </a>    
                        </div>
                        <div class="iconoTW">
                            <a href="http://www.twitter.com" target="_blank">
                                <img style="border: 0px;" src="plantillas/imagenes/twitterO.png" onmouseover="this.src='plantillas/imagenes/twitter.png';" onmouseout="this.src='plantillas/imagenes/twitterO.png';"/>
                            </a>    
                        </div>

                    </div>

                </div>
            </div>
            <div class="contenido">
                <?php
                echo $plantillaRender->fondoBP()
                ?>
                <div class="menuIzq">
                    <?php
                    echo $plantillaRender->render('menuIzquierda', '');
                    ?>
                </div>
                <div class="menuCentral">
                    <?php
                    echo $plantillaRender->render('contenidoCentral', '');
                    ?>
                </div>
                <div class="menuDerechaText">
                    <p> PUBLICIDAD </p>
                    <?php
                    echo $plantillaRender->render('publicidad1', '');
                    ?>
                </div>
                <div class="menuDerecha">
                </div>

                <?php ?>    
            </div>
            <div class="contMenuInferior">
                <div class="contenidoMenuInftxt">
                    <?php
                    echo $plantillaRender->render('piePagina', '');
                    ?>
                    <div class="contenidoMenuInf">
                        <?php
                        echo $plantillaRender->miniaturasCarrosPie();
                        ?>
                    </div>
                </div>

            </div>
        </div>
    </div>
</body>
<script src="plantillas/js/script.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>
    $("#accordion > li > div").click(function(){

        if(false == $(this).next().is(':visible')) {
            $('#accordion ul').slideUp(300);
        }
        $(this).next().slideToggle(300);
    });

    $('#accordion ul:eq(0)').show();

</script>

</html>


